/*
 * =====================================================================================
 *
 *       Filename:  test_queue.c
 *
 *    Description:  
 *
 *        Version:  1.0
 *        Created:  04/06/2012 10:30:18 AM
 *       Revision:  none
 *       Compiler:  gcc
 *
 *         Author:  YueYang (feinno), yueyang@feinno.com
 *        Company:  FCT
 *
 * =====================================================================================
 */

#include <stdio.h>
#include <stdlib.h>
#include <apr_queue.h>
#include <apr_pools.h>

int
main( int argc, char *argv[] ) {
    /*APU_DECLARE(apr_status_t) apr_queue_create(apr_queue_t **queue, unsigned int queue_capacity, apr_pool_t *a)*/
    apr_pool_t *p;
    static apr_queue_t *queue;

    apr_pool_create(&p, NULL);
    apr_queue_create(&queue, 128, p);

    return EXIT_SUCCESS;
}				/* ----------  end of function main  ---------- */
